package com.example.happiness.service.employee.Impl;

import com.example.happiness.mapper.ServeMapper;
import com.example.happiness.pojo.Serve;
import com.example.happiness.service.employee.EmployeeServeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServeServiceImpl implements EmployeeServeService {

    @Autowired
    ServeMapper serveMapper;

    @Override
    public Serve getServe(Integer sid) {
        return serveMapper.selectByPrimaryKey(sid);
    }
}
